package com.dianjing.dianqun.dao;

import org.apache.ibatis.annotations.Param;

import com.dianjing.dianqun.common.base.CrudMpper;
import com.dianjing.dianqun.model.ContentCollection;

public interface ContentCollectionMapper extends CrudMpper<ContentCollection> {
	/**
	 *
	 * @mbggenerated 2017-11-03
	 */
	int deleteByPrimaryKey(ContentCollection key);

	/**
	 *
	 * @mbggenerated 2017-11-03
	 */
	int insert(ContentCollection record);

	/**
	 *
	 * @mbggenerated 2017-11-03
	 */
	int insertSelective(ContentCollection record);

	ContentCollection selectByPrimaryKey(@Param("userId") Integer userId, @Param("contentId") Integer contentId);

	void cancelCollection(@Param("userId") Integer userId, @Param("contentId") Integer contentId);
}